package com.net.core.core.reuslt;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PageResp<T> {

    @ApiModelProperty("当前页数")
    long current;
    @ApiModelProperty("每页几条数据")
    long size;
    @ApiModelProperty("共计多少条")
    long total;
    @ApiModelProperty("返回数据")
    private List<T> records = new ArrayList();
}
